package cn.jja8.config.tool.work.obj.parameterized;

import cn.jja8.config.tool.work.obj.ObjKeep;

public interface ParameterizedKeep<V> extends ObjKeep<V> {

    /**
     * 将con转换成自己提供的对象
     * */
    V in(Object con,TypeKeep[] typeKeeps) throws Throwable;

    /**
     * 将自己提供的对象转换成con
     * */
    Object out(V v,TypeKeep[] typeKeeps) throws Throwable;
}
